<!doctype html>
<html>
<head>
    <meta charset="utf8">
    <title>接口测试</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        html,body,div,p,span,ul,dl,ol,h1,h2,h3,h4,h5,h6,table,td,tr{padding:0;margin:0}
        .content{width:100%;margin:100px auto;border:1px solid #ddd;text-align: center}
        h1{margin-bottom:30px;background-color:#eee;;border-bottom:1px solid #ddd;padding:10px;text-align: center}
        table tr td{height:40px;font-size:14px;width:70px;margin:auto;}
        input,select{width:60px;line-height:25px}
        button{font-size:16px}
    </style>
</head>
<body>
<div class="content">
    <h1>代付测试</h1>
    <form action="behalfpay.php" method="post" target="_blank">
        <table width="238">

            <tr>
                <td width="71">商户编号：</td>
              <td width="155"><input type="text" name="customerid" value="1286"></td>
            </tr>
      </table>

        <table>
            <tr>
            <td>银行</td>
            <td><input type="text" name="bankname" placeholder="中国银行" value=""></td>
            <td>开户行省</td>
            <td><input type="text" name="province" placeholder="" value=""></td>
            <td>开户行市</td>
            <td><input type="text" name="city" placeholder="" value=""></td>
            <td>开户行地址</td>
            <td><input type="text" name="branchname" placeholder="" value=""></td>
            <td>开户人</td>
            <td><input type="text" name="accountname" placeholder="" value=""></td>
            <td>卡号</td>
            <td><input type="text" name="cardno" placeholder="" value="" style="width: 120px;"></td>
            <td>金额</td>
            <td><input type="text" name="total_fee" placeholder="" value=""></td>
            <td>通知地址</td>
            <td><input type="text" name="notifyurl" placeholder="" value="http://www.gdlianyingpos88.com/test/pay/dfnotify.php"  style="width: 150px;"></td>
            <td>单号</td>
            <td><input type="text" name="sdorderno" placeholder="" value="" style="width: 150px;"></td>
        </tr> <tr>
            <td>银行</td>
            <td><input type="text" name="bankname1" placeholder="中国银行" value=""></td>
            <td>开户行省</td>
            <td><input type="text" name="province1" placeholder="" value=""></td>
            <td>开户行市</td>
            <td><input type="text" name="city1" placeholder="" value=""></td>
            <td>开户行地址</td>
            <td><input type="text" name="branchname1" placeholder="" value=""></td>
            <td>开户人</td>
            <td><input type="text" name="accountname1" placeholder="" value=""></td>
            <td>卡号</td>
            <td><input type="text" name="cardno1" placeholder="" value="" style="width: 120px;"></td>
            <td>金额</td>
            <td><input type="text" name="total_fee1" placeholder="" value=""></td>
            <td>通知地址</td>
            <td><input type="text" name="notifyurl1" value="http://www.gdlianyingpos88.com/test/pay/dfnotify.php" value="" style="width: 150px;"></td>
            <td>单号</td>
            <td><input type="text" name="sdorderno1" placeholder="" value="" style="width: 150px;"></td>
        </tr>
        </table>
        <center>
          <button type="submit">提交测试</button>
        </center>
    </form>
</div>
<script>
    function changePay(pname){
        document.getElementById('bankcode').style.display='none';
        document.getElementById('weixin').style.display='none';
        if(pname=='bank'){
            document.getElementById('bankcode').style.display='';
        }
        if(pname=='weixin'){
            document.getElementById('weixin').style.display='';
        }
    }
</script>
</body>
</html>
